package feeinterface.modeldb;
import java.util.*;

/*********************************************
通道合作表（该表中既包含主通道，也包含子通道）
***********************************************/
public class Channel{

	private String ExtVar;/*remark:扩展参数;length:100*/
	private Integer SingleMaxCnt;/*remark:如果ChannelBigType=1，则为短信单次扣费最大发送的条数 ；如果ChannelBigType=2 ，则为网页扣费请求的最大次数；如果ChannelBigType=3，则为拨打电话扣费最大的次数;length:10*/
	private Integer ChannelSno;/*remark:通道编号，从1000开始;length:10*/
	private Integer OnlyUseOnceForEverUser;/*remark:0：可以重复使用 1：只能使用一次  2: 72小时使用一次;length:10*/
	private String SendCmd;/*remark:如果ChannelBigType=1，则为通道指令 ；如果ChannelBigType=2 或3，则此字段没有意义;length:140*/
	private Integer ChannelBigType;/*remark:通道所属的大类别，对应与ChannelType表里的ChannelBigType字段,1：短彩类 2：WAP类 3：拨打类;length:10*/
	private String ChannelName;/*remark:通道名称;length:40*/
	private Integer NoPhoneUserToUse;/*remark:是否允许为未匹配手机号码的用户使用，1：允许 0：不允许;length:10*/
	private Integer UserDayMaxFee;/*remark:此通道上单个用户每日最高限费，单位：分,0不限制;length:10*/
	private String Updator;/*remark:更新人姓名;length:30*/
	private Integer ISSecond;/*remark:是否是二手通道  1：是  0：否;length:10*/
	private String ServiceCode;/*remark:业务代码，SP向移动申请的业务代码;length:20*/
	private Integer ChannelMonthMaxFee;/*remark:该通道每月最高限费，单位：分，0不限制;length:10*/
	private Integer ChannelSpID;/*remark:合作SP编号，对应于ChannelSp表里的ChannelSpID;length:10*/
	private Integer ClientSendInterval;/*remark:单位秒。如果ChannelBigType=1，为客户端同一次扣费中，发送此通道多个相同扣费指令之间的时间间隔；如果ChannelBigType=2，为客户端同一次扣费中多次相同请求扣费的时间间隔；如果ChannelBigType=3，同一次扣费相同号码之间拨打时间间隔;length:10*/
	private Integer FeeCode;/*remark:业务费率，单位：分，如果ChannelBigType=1，则一条短信扣多少钱 ；如果ChannelBigType=2 ，则为发一次扣费请求多少钱；如果ChannelBigType=3，则为打一分钟电话多少钱;length:10*/
	private Integer ChannelDayMaxFee;/*remark:该通道每日最高限费，单位：分，0不限制;length:10*/
	private Integer ParentChannelID;/*remark:0表示这条记录的通道为主通道  ；非0表示此条记录为子通道，并且此字段记录的为这条子通道的父通道ID;length:10*/
	private Integer ChannelTypeCode;/*remark:通道类别编码，对应于ChannelType表里的ChannelTypeCode;length:10*/
	private String FeeTipInfo;/*remark:扣费提示信息;length:80*/
	private Integer IsFullNet;/*remark:是否全网通道，1：全网，0：省份;length:10*/
	private Date UpdateTime;/*remark:添加或更新时间;length:19*/
	private String SPCID;/*remark:sp的通道标识;length:50*/
	private Integer UserMonthMaxFee;/*remark:此通道上单个用户每月最高限费，单位：分，0不限制;length:10*/
	private Integer SupportUserUnUsed;/*remark:0：不支持未激活  1：“未激活用户支持”的通道（激活用户：表明使用过软件的用户）;length:10*/
	private String Carrier;/*remark:运营商，有：移动，联通，电信;length:4*/
	private Integer Enable;/*remark:-1：隐藏  0：手动关闭  1：开通    2：达到日限而关闭  3：达到月限而关闭 4：达到时限而自动关闭（保留）  ;length:10*/
	private Date LastCloseTime;/*remark:通道最后的关闭时间（有可能是自动或手动关闭）;length:19*/
	private Date CreateTime;/*remark:通道接入时间;length:19*/
	private Date LastOpenTime;/*remark:通道最后打开的时间（有可能是自动或手动打开）;length:19*/
	private Integer SettlementPrice;/*remark:结算价格，单位：分。（扣费后我们拿到多少钱）;length:10*/
	private String DestAddr;/*remark:如果ChannelBigType=1，则为通道扣费指令的目标端口 ；如果ChannelBigType=2 ，则为网页扣费URL地址；如果ChannelBigType=3，则为拨打的扣费目标电话号码;length:500*/

	public void setExtVar(String ExtVar){
		this.ExtVar = ExtVar;
	}
	public String getExtVar(){
		return ExtVar;
	}
	public void setSingleMaxCnt(Integer SingleMaxCnt){
		this.SingleMaxCnt = SingleMaxCnt;
	}
	public Integer getSingleMaxCnt(){
		return SingleMaxCnt;
	}
	public void setChannelSno(Integer ChannelSno){
		this.ChannelSno = ChannelSno;
	}
	public Integer getChannelSno(){
		return ChannelSno;
	}
	public void setOnlyUseOnceForEverUser(Integer OnlyUseOnceForEverUser){
		this.OnlyUseOnceForEverUser = OnlyUseOnceForEverUser;
	}
	public Integer getOnlyUseOnceForEverUser(){
		return OnlyUseOnceForEverUser;
	}
	public void setSendCmd(String SendCmd){
		this.SendCmd = SendCmd;
	}
	public String getSendCmd(){
		return SendCmd;
	}
	public void setChannelBigType(Integer ChannelBigType){
		this.ChannelBigType = ChannelBigType;
	}
	public Integer getChannelBigType(){
		return ChannelBigType;
	}
	public void setChannelName(String ChannelName){
		this.ChannelName = ChannelName;
	}
	public String getChannelName(){
		return ChannelName;
	}
	public void setNoPhoneUserToUse(Integer NoPhoneUserToUse){
		this.NoPhoneUserToUse = NoPhoneUserToUse;
	}
	public Integer getNoPhoneUserToUse(){
		return NoPhoneUserToUse;
	}
	public void setUserDayMaxFee(Integer UserDayMaxFee){
		this.UserDayMaxFee = UserDayMaxFee;
	}
	public Integer getUserDayMaxFee(){
		return UserDayMaxFee;
	}
	public void setUpdator(String Updator){
		this.Updator = Updator;
	}
	public String getUpdator(){
		return Updator;
	}
	public void setISSecond(Integer ISSecond){
		this.ISSecond = ISSecond;
	}
	public Integer getISSecond(){
		return ISSecond;
	}
	public void setServiceCode(String ServiceCode){
		this.ServiceCode = ServiceCode;
	}
	public String getServiceCode(){
		return ServiceCode;
	}
	public void setChannelMonthMaxFee(Integer ChannelMonthMaxFee){
		this.ChannelMonthMaxFee = ChannelMonthMaxFee;
	}
	public Integer getChannelMonthMaxFee(){
		return ChannelMonthMaxFee;
	}
	public void setChannelSpID(Integer ChannelSpID){
		this.ChannelSpID = ChannelSpID;
	}
	public Integer getChannelSpID(){
		return ChannelSpID;
	}
	public void setClientSendInterval(Integer ClientSendInterval){
		this.ClientSendInterval = ClientSendInterval;
	}
	public Integer getClientSendInterval(){
		return ClientSendInterval;
	}
	public void setFeeCode(Integer FeeCode){
		this.FeeCode = FeeCode;
	}
	public Integer getFeeCode(){
		return FeeCode;
	}
	public void setChannelDayMaxFee(Integer ChannelDayMaxFee){
		this.ChannelDayMaxFee = ChannelDayMaxFee;
	}
	public Integer getChannelDayMaxFee(){
		return ChannelDayMaxFee;
	}
	public void setParentChannelID(Integer ParentChannelID){
		this.ParentChannelID = ParentChannelID;
	}
	public Integer getParentChannelID(){
		return ParentChannelID;
	}
	public void setChannelTypeCode(Integer ChannelTypeCode){
		this.ChannelTypeCode = ChannelTypeCode;
	}
	public Integer getChannelTypeCode(){
		return ChannelTypeCode;
	}
	public void setFeeTipInfo(String FeeTipInfo){
		this.FeeTipInfo = FeeTipInfo;
	}
	public String getFeeTipInfo(){
		return FeeTipInfo;
	}
	public void setIsFullNet(Integer IsFullNet){
		this.IsFullNet = IsFullNet;
	}
	public Integer getIsFullNet(){
		return IsFullNet;
	}
	public void setUpdateTime(Date UpdateTime){
		this.UpdateTime = UpdateTime;
	}
	public Date getUpdateTime(){
		return UpdateTime;
	}
	public void setSPCID(String SPCID){
		this.SPCID = SPCID;
	}
	public String getSPCID(){
		return SPCID;
	}
	public void setUserMonthMaxFee(Integer UserMonthMaxFee){
		this.UserMonthMaxFee = UserMonthMaxFee;
	}
	public Integer getUserMonthMaxFee(){
		return UserMonthMaxFee;
	}
	public void setSupportUserUnUsed(Integer SupportUserUnUsed){
		this.SupportUserUnUsed = SupportUserUnUsed;
	}
	public Integer getSupportUserUnUsed(){
		return SupportUserUnUsed;
	}
	public void setCarrier(String Carrier){
		this.Carrier = Carrier;
	}
	public String getCarrier(){
		return Carrier;
	}
	public void setEnable(Integer Enable){
		this.Enable = Enable;
	}
	public Integer getEnable(){
		return Enable;
	}
	public void setLastCloseTime(Date LastCloseTime){
		this.LastCloseTime = LastCloseTime;
	}
	public Date getLastCloseTime(){
		return LastCloseTime;
	}
	public void setCreateTime(Date CreateTime){
		this.CreateTime = CreateTime;
	}
	public Date getCreateTime(){
		return CreateTime;
	}
	public void setLastOpenTime(Date LastOpenTime){
		this.LastOpenTime = LastOpenTime;
	}
	public Date getLastOpenTime(){
		return LastOpenTime;
	}
	public void setSettlementPrice(Integer SettlementPrice){
		this.SettlementPrice = SettlementPrice;
	}
	public Integer getSettlementPrice(){
		return SettlementPrice;
	}
	public void setDestAddr(String DestAddr){
		this.DestAddr = DestAddr;
	}
	public String getDestAddr(){
		return DestAddr;
	}

}